package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录学生心理疾病就诊经历
 * </p>
 *
 * @author cft
 * @since 2022-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pcs_stu_therapy_exp")
@ApiModel(value="StuTherapyExp对象", description="记录学生心理疾病就诊经历")
public class StuTherapyExp extends Model<StuTherapyExp> {

    private static final long serialVersionUID = 1L;

    @TableId("f_apo_id")
    private Long fApoId;

    private String institName;

    private LocalDateTime thTime;

    private String thConclusion;

    private String medHistory;

    private Integer isInpatient;


    @Override
    protected Serializable pkVal() {
        return this.fApoId;
    }

}
